package com.xiweicheng.test.springcloud.ms.a;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class HelloServiceFallback implements HelloService {

    @Override
    public String hello(int sleep) {
        String val = "feign fallback, sleep: " + sleep;
        log.debug(val);
        return val;
    }

    @Override
    public String none() {
        String val = "feign fallback";
        log.debug(val);
        return val;
    }

}
